package com.xbang.attendance.entity.legworktimes;

import java.io.Serializable;
import java.util.Map;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.xbang.attendance.entity.Sign.Actioninfo;
import com.xbang.attendance.entity.companygps.companyGps;
import com.xbang.attendance.web.action.system.userinfo.userinfo;

@Entity
public class LegworkTimes implements Serializable {

	public LegworkTimes copyProperties(String userId, Map<String, Actioninfo> actions, companyGps company) {

		// this.
		// 写入到

		return this;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Integer id;
	/**
	 * 职员id
	 */
	@Column
	private String userId;
	/**
	 * 外勤公司id
	 */
	@Column
	private String companyId;
	@Column
	private String startTime;
	@Column
	private String endTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

}
